<%@page contentType="text/xml; charset= UTF-8"%> 
<%@page language="java" pageEncoding="UTF-8"%>
<%@page import="orest.front.expert.ExpertAction"%>


<%  //request.setCharacterEncoding ("gbk");
   
   
    String keyword = request.getParameter ("keyword");
    String energyclass = request.getParameter ("energyclass");
    String num = request.getParameter ("num");   
    String sorttype = request.getParameter ("sorttype");
    if (sorttype  == null)
         sorttype = "";
    ExpertAction obj = new ExpertAction();
    String str = "";   
    str = obj.findTopExpertByCondition(keyword,num,sorttype);
    out.clear();
    out.println ("<?xml version='1.0' encoding='gbk' ?><root><energyclass>"+energyclass+"</energyclass>"+str+"</root>");
%>

